<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<style type="text/css">@import url( ${contextPath}/templates/${templateName}/styles/style.css?${startupTime} );</style>
<style type="text/css">@import url( ${contextPath}/templates/${templateName}/styles/${language}.css?${startupTime} );</style>
</head>
<body>
<form action="${JForumContext.encodeURL("/jforum")}" method="post" name="loginform" id="loginform" accept-charset="${encoding}">
  <input type="hidden" name="module" value="user" />
  <input type="hidden" name="action" value="validateLogin_Index" />
  <#if returnPath?exists>
  	<input type="hidden" name="returnPath" value="${returnPath?html}" />
  </#if>
	<table class="forumline" cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
	<tr>
		<td class="row1">
			<table cellspacing="1" cellpadding="3" width="100%" border="0">
				<#if invalidLogin?exists>
				<tr>
					<td align="center" width="100%" colspan="2">
						<span class="gen" id="invalidlogin">
  							<font color="red">${I18n.getMessage("Login.invalidLogin")}</font>
  						</span>
  					</td>
  				</tr>
				</#if>
				<tr>
					<td align="right" width="45%"><span class="gen">${I18n.getMessage("Login.user")}:</span></td>
					<td><input class="post" maxlength="40" size="20" name="username" type="text"/> </td>
				</tr>
				<tr>
					<td align="right"><span class="gen">${I18n.getMessage("Login.password")}:</span></td>
					<td><input class="post" type="password" maxlength="20" size="20" name="password" /> </td>
				</tr>
				<tr align="center">
						<td colspan="2">
				<#if autoLoginEnabled>
					<span class="gen"><label for="autologin">${I18n.getMessage("Login.autoLogon")}: </a><input type="checkbox" id="autologin" name="autologin" /></span>
					 
				</#if>
				   <span class="gensmall">
						<input type="hidden" name="redirect" />
						<input class="mainoption" type="submit" value="${I18n.getMessage("Login.enter")}" name="login" />
						<a href="${JForumContext.encodeURL("/user/lostPassword")}">${I18n.getMessage("Login.lostPassword")}</a>
					</span>
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
</form>
</body>
</html>